package com.newland.starpos.project.exception;

import org.springframework.http.HttpStatus;

public class ServiceException extends AbstractHttpException {

	private static final long serialVersionUID = 3351806535816196139L;

	public ServiceException(String str) {
		super(str);
		setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR);
	}

	public ServiceException(String str, Exception e) {
		super(str, e);
		setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR);
	}
}
